Concurrency and Partitioning

dataIntake.kafka.concurrency controls the number of consumer worker threads.

dataIntake.kafka.concurrency=1

Guidance:

  • Start with concurrency 1.

  • Concurrency greater than the topic’s partition count does not increase throughput.

  • Use fileId as the record key so all operations for one file remain ordered in one partition.

  • Increase partitions and concurrency only after validating that multiple files can be processed in parallel safely.

  • All OIPA instances sharing work must use the same consumer-group ID.

  • Use a different group ID only when an independent consumer must receive every message.